﻿using System;

namespace SeleniumToolkit
{
    /// <summary>
    /// Defines a class as a WebFixture
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class WebFixtureAttribute : WebTestAttribute
    {
        #region Constructors
        /// <summary>
        /// Use default settings
        /// </summary>
        public WebFixtureAttribute()
        {
        }

        /// <summary>
        /// Use a specific browser string
        /// </summary>
        /// <param name="seleniumBrowserProfile">browser string</param>
        public WebFixtureAttribute(string seleniumBrowserProfile)
            : base(seleniumBrowserProfile)
        {
        }

        /// <summary>
        /// Use a specific browser string and starting url
        /// </summary>
        /// <param name="seleniumBrowserProfile"></param>
        /// <param name="baseUrl"></param>
        public WebFixtureAttribute(string seleniumBrowserProfile, string baseUrl)
            : base(seleniumBrowserProfile, baseUrl)
        {
        } 
        #endregion
    }

}
